<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>error</title>
    <style>
        h1{
            color:red;
        }
    </style>
</head>
<body>
    <h1 th:text="|Exception:${session.error}|">error！！！</h1>
</body>
</html>